package com.kws.system.feign;

import com.kws.common.config.dao.Express100Info;
import com.kws.common.config.dao.rq.QueryExpress100Rq;
import com.kws.common.core.constant.ServiceNameConstants;
import com.kws.common.core.domain.R;
import com.kws.system.api.factory.RemoteUserFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(contextId = "expressDeliveryService", value = ServiceNameConstants.TOOL_SERVICE)
public interface ExpressDeliveryService {

    @PostMapping("/query/expressDelivery/page")
    R<Express100Info> queryExpressDeliveryPage(@RequestBody QueryExpress100Rq requestJson);

    @PostMapping("/sms/sendMsm")
    void sendMsm(@RequestBody Map<String, String> map);
}
